﻿using System;

namespace WH.Common.Bases.IBase
{
    /// <summary>
    /// 机构筛选
    /// </summary>
    public interface IOrganizationFilter
    {
        /// <summary>
        /// 机构Id
        /// </summary>
        string OrganizationId { get; set; }

    }

    /// <summary>
    /// 
    /// </summary>
    public interface ISoftFilter
    {
        /// <summary>
        /// 是否删除
        /// </summary>
        bool IsDelete { get; set; }
    }

    /// <summary>
    /// 支持审计
    /// </summary>
    public interface IAuditable
    {
        /// <summary>
        /// 创建时间
        /// </summary>
        DateTime? CreatedTime { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        string? CreatedBy { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        DateTime? UpdatedTime { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        string? UpdatedBy { get; set; }
    }
}
